<%@page import="drukarnia.controller.PriceForMaterialsManager"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ page errorPage="WEB-INF/bledy.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Druakrnia</title>
</head>
<body>
<% PriceForMaterialsManager man = new PriceForMaterialsManager(); 
	String id = request.getParameter("id");
	int id_price = Integer.parseInt(id);
	man.delete(id_price);
	
%>
	<jsp:forward page="setPriceForMaterials.jsp">
		<jsp:param value="Usunieto materiał!" name="message"/>
	</jsp:forward>
</body>
</html>